import pandas as pd


a = pd.date_range('2024-01-01', "2024-05-01")
print(a)

b = pd.date_range('2024-01-01', periods = 10)
print(b)

c = pd.date_range('2024-01-01', periods = 10, freq='H')
print(c)

d = pd.date_range('2024-01-01', periods = 10, freq='w')
print(d)

e = pd.date_range('2024-01-01', periods = 10, freq='w-Mon')
print(e)

print(e[0].to_pydatetime())
